package com.xzit.domain;

/**
 * @author haoranlu
 * @project IntelliJ IDEA
 */
public class Student {
    private String stuName;
    private int age;
    private String sex;
    private String level;
    public Student(String stuName, int age, String sex, String level) {
        this.stuName = stuName;
        this.age = age;
        this.sex = sex;
        this.level = level;
    }

    public Student() {
    }
    public String getLevel(){
        return level;
    }
    public void setLevel(String level){
        this.level = level;
    }
    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "Student{" +
                "stuName='" + stuName + '\'' +
                ", age=" + age +
                ", sex='" + sex + '\'' +
                '}';
    }
}
